//go:build wireinject
// +build wireinject

package serviceWire

import (
	adminService "gin_http/internal/service/admin"
	repositoryWire "gin_http/internal/wire/repository"

	"github.com/google/wire"
)

var UserServiceSet = wire.NewSet(
	repositoryWire.InitAdminUserRepository,
	adminService.NewAuthService,
)

func InitAdminUserService() (*adminService.AuthService, error) {
	wire.Build(UserServiceSet)
	return &adminService.AuthService{}, nil
}
